package itdep.common.domain.hibernate;

import itdep.common.domain.EntityFilter;
import org.hibernate.criterion.DetachedCriteria;

import java.io.Serializable;

/**
 * @author Ivan Khalopik
 * @version $Revision: 4 $ $Date: 2010-06-10 13:13:16 +0000 (Thu, 10 Jun 2010) $
 */
public interface FilterProcessor<PK extends Serializable, F extends EntityFilter<PK>> {

	void process(final DetachedCriteria criteria, final F filter);

}
